﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

using System.Xml;
using System.Xml.Serialization;

namespace RecursosHumanos
{
    public partial class frmBIPreview : Form
    {
        public frmBIPreview(BIRelatorio relatorio)
        {
            try
            {
                InitializeComponent();
                grd.DataSource = BI.RetornaDataTable(relatorio);
                this.Text = relatorio.nome;
            }
            catch (Exception ex)
            {
                
            }
        }

        private void frmFilme_Load(object sender, EventArgs e)
        {
            
        }

        private void toolStripButton3_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void grd_Click(object sender, EventArgs e)
        {

        }

        private void grd_DoubleClick(object sender, EventArgs e)
        {

        }
    }
}
